package com.example.park_management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.park_management.entity.Campaignparticipants_wjs;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CampaignparticipantsMapper_wjs extends BaseMapper<Campaignparticipants_wjs> {
    @Select("select campaignID from campaignparticipants where tenantID = #{tenantID}")
    List<Integer> seletebyTenantID(Integer tenantID);

    @Delete("delete from campaignparticipants where campaignID = #{cid} and tenantID = #{tid}")
    boolean removeByCID_TID(Integer cid, Integer tid);
}
